*{
    margin: 0;
    padding: 0;
}
.homeContainer {
  background: #f8f6f3;
  min-height: 100vh;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: #4a3a2c;
}

.header {
  background: #4a3a2c;
  color: #fff;
  padding: 24px 0 16px 0;
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  box-shadow: 0 2px 8px #0001;
}
.headerTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  font-size: 15px;
  opacity: 0.95;
}
.iconCal {
  font-size: 18px;
  vertical-align: -2px;
  margin-right: 2px;
}
.bellWrap {
  position: relative;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.bellSvg {
  width: 48px;
  height: 48px;
  display: block;
}
.bellDot {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #ff9800;
  color: #fff;
  font-size: 14px;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-weight: bold;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px #a97c5055;
  z-index: 2;
}
.profileSection {
  display: flex;
  align-items: center;
  padding: 18px 24px 0 24px;
}
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #222 url('https://api.dicebear.com/7.x/miniavs/svg?seed=1') center/cover no-repeat;
  margin-right: 18px;
  border: 3px solid #fff4;
  box-shadow: 0 2px 8px #0002;
}
.greetingBlock {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.greeting {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 4px;
}
.profileInfo {
  font-size: 16px;
  display: flex;
  gap: 0;
  align-items: center;
  color: #fff;
}
.profileItem {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  font-weight: 500;
}
.iconStar {
  color: #b6d36b;
  font-size: 18px;
  margin-right: 2px;
}
.iconFlower {
  color: #ff9800;
  font-size: 18px;
  margin-right: 2px;
}
.iconSmile {
  color: #ffe066;
  font-size: 18px;
  margin-right: 2px;
}
.dot {
  color: #fff;
  opacity: 0.7;
  margin: 0 8px;
  font-size: 18px;
  font-weight: bold;
}
.searchBarWrap {
  margin: 22px 24px 0 24px;
}
.searchBarDark {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 2px 12px #0002;
  padding: 0 18px;
  height: 48px;
}
.searchBarDark input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 18px;
  padding: 14px 0;
  color: #4a3a2c;
}
.searchIcon {
  width: 26px;
  height: 26px;
  background: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%234a3a2c" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4.35-4.35"/></svg>') center/contain no-repeat;
  margin-left: 8px;
}

.section {
  margin: 32px 0 0 0;
  padding: 0 24px;
}
.sectionTitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #4a3a2c;
}
.metricsRow {
  display: flex;
  gap: 28px;
  margin-bottom: 8px;
}
.metricCard {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 240px;
  height: 190px;
  border-radius: 32px;
  box-shadow: 0 4px 18px #0001;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 22px 0 0 0;
  background: #fff;
}
.metricGreen {
  background: #b6d36b;
  color: #fff;
}
.metricOrange {
  background: #ff9800;
  color: #fff;
}
.metricCardTop {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
}
.metricIcon {
  font-size: 28px;
  margin-right: 2px;
}
.metricCircleWrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 18px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circleSvg {
  position: relative;
  z-index: 1;
  display: block;
}
.metricCircleText {
  position: absolute;
  left: 0;
  top: 0;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.metricValue {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.1;
}
.metricLabel {
  font-size: 15px;
  opacity: 0.95;
  margin-top: 2px;
}
.metricEmotionText {
  font-size: 28px;
  font-weight: 600;
  margin: 18px 0 0 0;
  letter-spacing: 1px;
}
.metricBarWrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
.barSvg {
  display: block;
}
.metricsDots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0 0;
}
.metricsDot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8cfc2;
  opacity: 0.7;
  display: inline-block;
}
.metricsDotActive {
  background: #6d4b2f;
  opacity: 1;
}

.trackerList {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}
.trackerCard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px #e6e2d8;
  padding: 18px 20px;
  min-height: 64px;
  margin-bottom: 0;
  transition: box-shadow 0.2s;
}
.trackerIcon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: #f6f6f6;
  margin-right: 18px;
}
.trackerGreen { background: #e6f7e6; color: #6db36d; }
.trackerPurple { background: #f3f0fa; color: #a48eea; }
.trackerOrange { background: #fff3e0; color: #ff9800; }
.trackerYellow { background: #fffbe0; color: #ffe066; }
.trackerTitle {
  font-size: 17px;
  font-weight: 600;
  color: #4a3a2c;
}
.trackerDesc {
  font-size: 14px;
  color: #b0a99a;
  margin-top: 2px;
}
.moodTrackerCard {
  background: #f8f6f3;
  border-radius: 16px;
  box-shadow: 0 1px 6px #e6e2d8;
  padding: 14px 18px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  justify-content: center;
}
.moodDot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: #ffe0e0;
  color: #ff9800;
}
.moodDotHappy { background: #e6f7e6; color: #6db36d; }
.moodDotNeutral { background: #f3f0fa; color: #a48eea; }
.moodArrow {
  color: #b0a99a;
  font-size: 18px;
  margin: 0 2px;
  font-weight: 400;
}

.sectionHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sectionLink {
  color: #b6d36b;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.symptomCard {
  background: #b6d36b;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0001;
  padding: 18px 18px 12px 18px;
  margin-top: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.symptomCount {
  font-size: 20px;
  font-weight: bold;
}
.symptomSearch {
  border: none;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 15px;
  margin: 8px 0;
  outline: none;
  color: #4a3a2c;
}
.symptomTags {
  display: flex;
  gap: 10px;
}
.symptomTags span {
  background: #fff4;
  border-radius: 8px;
  padding: 2px 10px;
  font-size: 14px;
}

.doctorList {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.doctorCard {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 16px;
}
.doctorAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eee url('https://randomuser.me/api/portraits/men/32.jpg') center/cover no-repeat;
}
.doctorInfo {
  flex: 1;
}
.doctorName {
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.doctorTag {
  background: #b6d36b;
  color: #fff;
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 13px;
}
.doctorTime {
  font-size: 14px;
  color: #888;
  margin-top: 2px;
}

.aiBotCard {
  background: #b7aaff;
  border-radius: 22px;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  align-items: center;
  padding: 24px 18px;
  margin-top: 12px;
  color: #fff;
  gap: 24px;
}
.aiBotInfo {
  flex: 1;
}
.aiBotCount {
  font-size: 28px;
  font-weight: bold;
}
.aiBotDesc {
  font-size: 15px;
  margin: 8px 0 0 0;
}
.aiBotVip {
  font-size: 15px;
  color: #ffe066;
  margin-top: 6px;
}
.aiBotImage {
  width: 100px;
  height: 100px;
  background: url('https://api.dicebear.com/7.x/bottts/svg?seed=robot') center/cover no-repeat;
  border-radius: 18px;
}
.iconCalSvg {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}
.date {
  font-size: 20px;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
.metricBlue {
  background: #6ec1e4;
  color: #fff;
}
.metricRed {
  background: #ff6b6b;
  color: #fff;
}
.metricYellow {
  background: #ffe066;
  color: #fff;
}
.metricsRowScroll {
  display: flex;
  gap: 7px;
  margin-bottom: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.metricsRowScroll::-webkit-scrollbar {
  display: none;
}
.metricNumberWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  height: 90px;
}
.metricCircleRow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.appointCard {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px #ecebe7;
  padding: 20px 16px 16px 16px;
  margin: 28px auto 0 auto;
  max-width: 350px;
  min-width: 0;
}
.appointHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #4a3a2c;
  margin-bottom: 10px;
}
.appointAll {
  color: #b6d36b;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.appointMainRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.appointNum {
  font-size: 38px;
  font-weight: bold;
  color: #6db36d;
  line-height: 1;
}
.appointNumLabel {
  font-size: 16px;
  color: #b0a99a;
  margin-left: 4px;
}
.appointArrowBtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e6f7e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #6db36d;
  cursor: pointer;
  box-shadow: 0 1px 6px #e6e2d8;
}
.appointStatusRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.appointStatus {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #b0a99a;
  gap: 2px;
}
.appointStatus .icon {
  font-size: 14px;
}
.appointStatus.green { color: #6db36d; }
.appointStatus.red { color: #ff6b6b; }
.appointStatus.gray { color: #b0a99a; }
.appointList {
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.appointDoctorCard {
  background: #f8f6f3;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 10px 10px;
  gap: 10px;
  box-shadow: 0 1px 4px #ecebe7;
}
.appointAvatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eee;
  object-fit: cover;
}
.appointDocInfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.appointDocNameRow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
  color: #4a3a2c;
}
.appointDocStar {
  color: #ffe066;
  font-size: 15px;
}
.appointDocScore {
  font-size: 13px;
  color: #b0a99a;
  margin-left: 2px;
}
.appointDocType {
  font-size: 13px;
  color: #b0a99a;
  margin-left: 6px;
}
.appointDocTime {
  font-size: 13px;
  color: #b0a99a;
  margin-top: 1px;
}
.appointArrow {
  font-size: 18px;
  color: #b0a99a;
  margin-left: 6px;
}
.appointAllLink {
  display: block;
  text-align: center;
  color: #b6d36b;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
